﻿using System;
namespace Clipper.Model
{
	/// <summary>
	/// DetectResult:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class DetectResult:AbstractModel
	{
		public DetectResult()
		{}
		#region Model
		private int _reactioncupid;
		private long _testtubeid;
        private string _testTubeBarcode;
		private long _sampleid;
        private SampleInfo _sampleType;
		private string _detectitem;
		private string _result;
		private int _resultstate;
		private string _description;
		private DateTime _checkdatetime;
		private int _lightvalue;
        private ResultReference _resultReference;
		private string _note;
		/// <summary>
		/// 结果编号
		/// </summary>
		public int reactionCupID
		{
            set
            {
                _reactioncupid = value;
                NotifyPropertyChanged("reactionCupID");
            }
            get
            {
                return _reactioncupid;

            }
		}
		/// <summary>
		/// 试管编号
		/// </summary>
		public long TestTubeID
		{
            set
            {
                _testtubeid = value;
                NotifyPropertyChanged("TestTubeID");
            }
			get{return _testtubeid;}
		}
        /// <summary>
        /// 试管条形码
        /// </summary>
        public string TestTubeBarcode
        {
            get
            {
                return _testTubeBarcode;
            }
            set
            {
                _testTubeBarcode = value;
                NotifyPropertyChanged("TestTubeBarcode");
            }
        }
		/// <summary>
		/// 样本号
		/// </summary>
		public long SampleID
		{
            set
            {
                _sampleid = value;
                NotifyPropertyChanged("SampleID");
            }
			get{return _sampleid;}
		}
        /// <summary>
        /// 样本类型
        /// </summary>
        public SampleInfo SampleInfo
        {
            set
            {
                _sampleType = value;
                NotifyPropertyChanged("SampleInfo");
            }
            get
            {
                return _sampleType;
            }
        }
		/// <summary>
		/// 检测项
		/// </summary>
		public string DetectItem
		{
			set{ 
                _detectitem=value;
                NotifyPropertyChanged("DetectItem");
            }
			get{return _detectitem;}
		}

		/// <summary>
		/// 结果
		/// </summary>
		public string result
		{
			set{ 
                _result=value;
                NotifyPropertyChanged("result");
            }
			get{return _result;}
		}
		/// <summary>
		/// 结果状态
		/// </summary>
		public int ResultState
		{
			set{ 
                _resultstate=value;
                NotifyPropertyChanged("ResultState");
            }
			get{return _resultstate;}
		}
		/// <summary>
		/// 描述
		/// </summary>
		public string description
		{
			set{ 
                _description=value;
                NotifyPropertyChanged("description");
            }
			get{return _description;}
		}
		/// <summary>
		/// 检测日期
		/// </summary>
		public DateTime checkDatetime
		{
			set{
                _checkdatetime=value;
                NotifyPropertyChanged("checkDatetime");
            }
			get{return _checkdatetime;}
		}
		/// <summary>
		/// 发光值
		/// </summary>
		public int lightValue
		{
			set{ 
                _lightvalue=value;
                NotifyPropertyChanged("lightValue");
            }
			get{return _lightvalue;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string note
		{
			set{
                _note=value;
                NotifyPropertyChanged("note");
            }
			get{return _note;}
		}

       /// <summary>
       /// 结果对照
       /// </summary>
        public ResultReference ResultReference
        {
            get
            {
                return _resultReference;
            }
            set
            {
                _resultReference = value;
                NotifyPropertyChanged("ResultReference");
            }
        }
		#endregion Model


	}
}

